//
//  UIButton+common.m
//  BestTeam
//
//  Created by bigger on 2019/1/16.
//  Copyright © 2019年 BiggerFitness. All rights reserved.
//

#import "UIButton+common.h"

@implementation UIButton (common)

-(void)setCommonStyleAndShowText:(NSString*)showText
{
    [self setBackgroundColor:kCommonRedColor];
    [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    self.titleLabel.font = [UIFont boldSystemFontOfSize:18];
    [self setTitle:showText forState:UIControlStateNormal];
    self.layer.cornerRadius = 5.;
}


@end
